package com.biyu.monitormanage.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author 15491
 */
@ConfigurationProperties(prefix = "monitor.thread")
@Data
public class ThreadPoolConfigProperties {
    /**
     * 核心线程数
     */
    private Integer coreThreadNumber;

    /**
     * 最大线程数
     */
    private Integer maxThreadNumber;

    /**
     * 存活时间
     */
    private Long keepAliveTime;

    /**
     * 阻塞队列容量
     */
    private Integer blockingQueueSize;
}
